home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0104.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  3.5 KB  |  95 lines

  1.  
  2. From: "M.D.I." <mtdesert@saturn.caps.maine.edu>
  3. Subject: AGA  
  4.  
  5. >Is there anything out there that will allow me to open up 256/HAM-8 
  6. >screens?  I just find HAM-6 a bit to ugly.
  7.  
  8. Andy churches intuition extension will allow you open Intuition screens in
  9. any mode that your monitor supports, however you won't be able to use some
  10. AMOS features (e.g. Bobs) on them. For HAM8 title screens, it should do the
  11. job.
  12.  
  13.  
  14.  
  15.  
  16. From: GREGORY <GREGORY@ekefe.gel.ariadne-t.gr>
  17. Subject: Sort command
  18.  
  19. >I think that Sort doesn't work with multi-dimensional arrays.Is 
  20. >that true?
  21. >                                    Gregory.
  22.  
  23. Yes it is, but I wrote a quicksort procedure which is in the procedure
  24. library on aminet that will sort anything you like with some small
  25. modificiation (Indicated in comments in the code). 
  26.  
  27.  
  28.  
  29. >Hi guys, Here's a question for you:)
  30. >Is there a way to find the address of a variable without using 
  31. >VarPtr? Maybe using A5 register?
  32. >                                        Gregory.
  33.  
  34. Not as far as I know. Remember the address of strings is likely to
  35. change with garbage collection, but integers / reals are allocated
  36. a static memory address. However garbage collection will only
  37. occur when you assign to a string varaible, or use an AMOS function which
  38. returns/modifies a string variable.
  39.  
  40.  
  41.  
  42.  
  43. From: "Video-room antr. (606)" <bcollin@mpi.nl>
  44. Subject: Re: Amos Sprite banks
  45.  
  46. > for your warriors. I think Amos Sprite bank contains only 256 sprites, so
  47. > i have to copy all main warriors in every sprite bank (one for level) and
  48. > put others sprites in the others cells of the sprite bank (>120..).In this way
  49. > i will get five sprite banks,every one with more then 200 sprite's images!!!!!
  50.  
  51. This is a hypothesis, but worth a try. The sprite bank contains a pointer to
  52. the sprite image, and to it's mask. When you use a command to display a
  53. sprite, AMOS will either:
  54.  
  55.     - Copy the pointers from the sprite bank into the Amiga OS sprite
  56.       image structure, or an interal structure to represent the image
  57.       of each hardware sprite.
  58.  
  59.     - Put the address / number of the entry of sprite bank in the
  60.       internal structure.
  61.  
  62. If the first method is used, you can setup the first sprite, then swap the
  63. bank and setup the second without the display to the first being corrupted.
  64. I suggest you try it and see. However AMAL animations may complicate things,
  65. but if when compiling the AMAL program AMOS jsut creates a list of pointers
  66. to the actually images instead of the list of sprite bank numbers you type
  67. in, it will still be OK.
  68.  
  69.  
  70. I've never heard of this 256 sprite limit before, and looking at the 
  71. internal structure of the bank, I can see no reason why 65535 sprites
  72. is not possible. This is a limit to the vertical size of each sprite,
  73. the number of sprites on the screen, and the number of bobs on the
  74. screen (The first and last of these can be edited from the AMOSPro 
  75. configuration editor). It may be that the bob editor limits you to
  76. 256 sprites.
  77.  
  78.  
  79.  
  80.  
  81.  
  82. +-------------------------+------------------------------------+
  83. |                         |    _____                           |
  84. | PAUL HICKMAN            |   /     \   ON A HOT SUMMER NIGHT  |
  85. | (ph@doc.ic.ac.uk)       |  /  O O  \  WOULD YOU  OFFER YOUR  |
  86. | DEPARTMENT OF COMPUTING | |    _    | THROAT  TO  THE  WOLF  |
  87. | IMPERIAL COLLEGE LONDON |  \  / \  /  WITH THE RED  ROSES ?  |
  88. |                         |   \_____/                          |
  89. +-------------------------+------------------------------------+
  90. Machines: Amiga 500  WB1.3 - 1mb Memory - External Disk Drive.
  91.           Amiga 1200 WB3.0 - 6mb Memory - 200Mb Hard Disk.
  92.  
  93.  
  94.